package yesjava;

import java.io.*;

// IO 流
//把C盘的 myfile.txt 文件内容读取出来并复制到D盘
public class Main {
    public static void main(String[] args) throws Exception {
      /*  File fileInput = new File("c:/加锁.mp4");
        File fileOut = new File("d:/myfile_cp.mp4");*/
        long now = System.currentTimeMillis();
        FileUtil.copy("d:/cn_windows_10_business_editions_version_1909_updated_jan_2020_x64_dvd_b3e1f3a6.iso", "e:/98998.iso");
        System.out.println((System.currentTimeMillis() - now)+" :毫秒");

    }


}